package com.qk.management.service;

import com.qk.result.PageResult;
import com.qk.dto.role.RoleDTO;
import com.qk.entity.Role;

import java.util.List;

/**
 * @Author:zhengbowen
 * @Date: 2025/10/06 18:43
 * @Description: 角色管理服务接口
 */
public interface RoleService {
    PageResult<Role> selectRolesByPage(RoleDTO roleDto);

    void updateRole(Role role);

    Role selectRoleById(Integer id);

    List<Role> selectRoles();

    void insertRole(Role role);

    void deleteRole(Integer id);
}
